package com.lening.common.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 牛强
 * @datetime 2024/4/22 14:13
 * @description 类对象
 */
@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {
    //jwt三部分  头部，签名，载荷
    private String header;
    private String secret;
    private Long expireTime;

}
